Total Complexity | 22 |
Dependencies | 1 |
Dependents | 0 |
Total lines | 198 |
Lines of code | 136 |
Logical lines of code | 44 |
Comment lines | 42 |
Methods | 6 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
handle_promotions() | 41 | 6 | 63 | |
dismiss_promotions() | 52 | 8 | 23 | |
show_promotion() | 52 | 4 | 27 | |
is_promotion_dismissed() | 68 | 2 | 7 | |
get_valid_promotions() | 64 | 1 | 12 | |
init() | 75 | 1 | 4 |